from fastapi import FastAPI
import uvicorn

app = FastAPI()


@app.get("/")
async def root():
    return {"message": "Hello from test API"}


@app.post("/items/")
async def create_item(item: str):
    return f"Received data - {item}"
